<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>掌城交通信息平台监测系统</title>
<link rel="stylesheet" type="text/css" href="easyUI/css/default.css" />
<link rel="stylesheet" type="text/css" href="easyUI/css/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="easyUI/css/themes/icon.css" />
<style type="text/css">
*{margin:0px; padding:0px;}
.top {width:100%; height:130px;background:url(images/top_bg.gif) right top repeat-x;text-align:right;}
.top_bg2{background:url(images/top_right.gif) no-repeat right ;height: 104px;width: 100%; text-align:left;}
.top_bg2 img{padding:10px 0 0 18px;}
.top p a{color:#FFF; height:25px; text-decoration:underline;}
.top p{color:#FFF; height:25px;width:100%;background:#395782 url(images/navigation_bg.gif); line-height:25px}
a{blr:expression(this.onFocus=this.blur());outline:none}
</style>
<script type="text/javascript" src="modules/common/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="easyUI/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="modules/common/main.js"></script>
<script type="text/javascript" src="modules/common/common.js"></script>
<script type="text/javascript" src="modules/common/util.js"></script>

<!-- sss  -->
<link rel="stylesheet" type="text/css" href="easyUI/css/jquery-ui-1.css" />
<link rel="stylesheet" type="text/css" href="easyUI/css/jquery_003.css" />
<script src="easyUI/js/jquery_005.js" type="text/javascript"></script>
<!-- 报警提示框end -->
</head>
<body class="easyui-layout">
<script type="text/javascript">
window.setInterval(erroReq,30*1000);

function erroReq()
{
	$.ajax({
	     url: "ModuleData.action",
	     type: "POST",
		 async:false,
	     data: "mothod=geterroinfo",
	     dataType:"text"||"json",
	     success: function(data, textStatus)
	     {
	    	 result=data;
	    	 if(data!=null&&data!='"'+"none"+'"')
	    		{
	    			$.pnotify({
	    				pnotify_title: "系统报警提示",
	    				pnotify_type: "error",
	    				pnotify_history: true,
	    				pnotify_width: '400px',
	    				pnotify_shadow: false,
	    				pnotify_text: data
	    			});
	    		}
	     },
	     error: function()
	     {
	    	 $.pnotify({
 				pnotify_title: "系统报警提示",
 				pnotify_type: "error",
 				pnotify_history: true,
 				pnotify_width: '400px',
 				pnotify_shadow: false,
 				pnotify_text: "请求后台异常erro"
 			});
	     }
	 });
}
function AjaxRequest(url,parm,dataType){
	 var result=null;
	 $.ajax({
		     url: url,
		     type: "POST",
			 async:false,
		     data: parm,
		     dataType:dataType||"json",
		     success: function(data, textStatus)
		     {
		    	 result=data;
		     },
		     error: function()
		     {
		    	 result="请求后台异常erro";
		     }
		 });
	 	return result;
}
</script>
		<div region="north" border="false" style="height:26px;overflow:hidden">
			<div class="top">
				<p><span id="bgclock" style="float:left; padding-left:10px; color:#FFF"><img src="images/img_23.gif" /><b> 掌城交通信息平台监测系统</b></span>用户名:<span id="username"></span> &nbsp;&nbsp;&nbsp;<a href="#" onclick="logout()">退出</a>&nbsp;&nbsp;&nbsp;</p>
			</div>
		</div>
		<div region="west" split="true" title="导航菜单" style="width:200px;" id="west">
			<div class="easyui-accordion" fit="true" border="false">
				<div title='实时监测' style='overflow:auto;'>
					<ul>
						<li><div><a href="javascript:addTab('列表监测','Liebiao.html')" ><span style='width:10px;height:10px;' class='icon icon-nav' ></span>列表监测</a></div></li>
					</ul>
				</div>
				<div title='检测配置' style='overflow:auto;'>
					<ul>
						<li><div><a href="javascript:addTab('监测模板','modules/config/moduleTypeConfig.html')" ><span style='width:10px;height:10px;' class='icon icon-set' ></span>监测模板</a></div></li>
						<li><div><a href="javascript:addTab('模块配置','modules/config/moduleConfig.html')" ><span style='width:10px;height:10px;' class='icon icon-nav' ></span>模块配置</a></div></li>
						
					</ul>
				</div>
				
				<div title='用户管理' style='overflow:auto;'>
					<ul>
						
						<li><div><a href="javascript:addTab('用户管理','modules/userManager/userManager.html')" ><span style='width:10px;height:10px;' class='icon icon-role' ></span>用户管理</a></div></li>
					</ul>
				</div>
				
				<div title='报警管理' style='overflow:auto;'>
					<ul>
						<li><div><a href="javascript:addTab('报警查询','modules/history/historyQuery.html');" ><span style='width:10px;height:10px;' class='icon icon-nav' ></span>报警查询</a></div></li>
						
					</ul>
				</div>
			</div>
		</div>
		<div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
		<div id="tabs" class="easyui-tabs"  fit="true" border="false" >
			<div title="列表监测" style="padding:20px;overflow:hidden;" id="Traffic">				
				<iframe src="Liebiao.html" width="100%" height="100%" frameborder="0"></iframe>
			</div>
		</div>
    </div>
</body>
</html>
